﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="PersonMessage.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <style>
        #count {
            text-align: "center";
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div class="count">
            <h1>注册页面</h1>
            <br />
            姓名：<asp:TextBox ID="Name" runat="server"></asp:TextBox>
            <br />
            密码：<asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox>
            <br />
            性别：<asp:RadioButtonList ID="Gender" runat="server">
                <asp:ListItem Value="male">男</asp:ListItem>
                <asp:ListItem Value="female">女</asp:ListItem>
            </asp:RadioButtonList>
            <br />
            爱好：<asp:CheckBoxList ID="Habbits" runat="server">
                <asp:ListItem Value="basketball">打篮球</asp:ListItem>
                <asp:ListItem Value="dance">跳舞</asp:ListItem>
                <asp:ListItem Value="sing">唱歌</asp:ListItem>
                <asp:ListItem Value="coding">敲代码</asp:ListItem>
            </asp:CheckBoxList>
            <br />
            省份：<asp:DropDownList ID="Province" runat="server" AutoPostBack="true"></asp:DropDownList>
            <br />
            市区：<asp:DropDownList ID="Downtown" runat="server" AutoPostBack="true"></asp:DropDownList>
            <br />
            其他信息：<asp:TextBox ID="TextBox1" TextMode="MultiLine" Columns="20" Rows="20" runat="server" AutoPostBack="true"></asp:TextBox>
            <br />
            上传头像：<asp:FileUpload ID="FileUpload1" runat="server" />
            <br />
            <asp:Button ID="Upload" runat="server" Text="提交" OnClick="Upload_Click" />
            <br />
            <asp:Literal ID="Literal1" runat="server"></asp:Literal>
            <asp:Image ID="GetImage" runat="server" />

        </div>
    </form>
</body>
</html>
